package com.xywy.wjk.util;

import com.xywy.common.bean.ConnectedDevice;
import com.xywy.common.util.FileUtil;

import android.content.Context;

public class WjkConstant {
	public static String DISCONNECT_ACTION_TOWEIGHT = "com.xywy.disconnect.toweight";
	public static String DISCONNECT_ACTION_TOBLOOD = "com.xywy.disconnect.toblood";
	public static String DISCONNECT_ACTION_TOTEMPUT = "com.xywy.disconnect.totemput";
	//跳转到血压
	public static String CONNECT_BLOOD_ACTION = "com.xywy.connect.blood";
	//跳转到体重
	public static String CONNECT_WEIGHT_ACTION = "com.xywy.connect.weight";
	//跳转到体温
	public static String CONNECT_TEMPUT_ACTION = "com.xywy.connect.temput";
	//连接血压
	public static String CONNECTING_BLOOD_ACTION = "com.xywy.connecting.blood";
	//连接体重
	public static String CONNECTING_WEIGHT_ACTION = "com.xywy.connecting.weight";
	//连接体温
	public static String CONNECTING_TEMPUT_ACTION = "com.xywy.connecting.temput";
	//断开蓝牙跳转到血压
	public static String CONNECT_BLOOD_ACTION_DISCONNET = "com.xywy.disconnect.connect.blood";
	//断开蓝牙跳转到体重
	public static String CONNECT_WEIGHT_ACTION_DISCONNECT = "com.xywy.disconnect.connect.weight";
	//断开蓝牙跳到体温计
	public static String CONNECT_TEMPUT_ACTION_DISCONNECT = "com.xywy.disconnect.connect.temput";
	
	//提示血压计需要  重启
	public static String CONNECT_BLOOD_RESTART = "com.xywy.blood.restart";
	
	
	
	public static String IMAGE_URL = "com.xywy.imageurl";
	public static String OPEN_SLIDE = "com.xywy.openslide";
	public static String CLOSE_SLIDE = "com.xywy.closeslide";
	public static String GET_DEVICE = "com.xywy.getdevice";//同步设备
	public static String GET_DATA = "com.xywy.getdata"; //同步数据
	
	/**
	 * 连接到血压计
	 * @param context
	 */
	public static void connectBloodDevice(Context context){
		ConnectedDevice connect_device = FileUtil.getConnectedDeivce();
	    //分成两种情况
		if(connect_device == null){
			//1 没有连接的设备
			
		}else {
			//2 有连接的设备 
		}
		
	}
	
	/**
	 * 连接到体重秤
	 * @param context
	 */
	public static void connectWeightDevice(Context context){
		
	}
	
	/**
	 * 连接到体温计
	 * @param context
	 */
	public static void connectTemperatureDevice(Context context){
		
	}
}
